package com.xy.demo.model;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class LoggerInfo {
    private String loggerId;//日志id
    private String jycode;//用户id
    private String jyname;//用户名
    @DateTimeFormat(pattern = "yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date opTime;//操作时间
    private String opOrder;//操作命令
    private String ip;//ip
    private String ms;//描述
    private String opObject;//操作对象
    private String bmcode;//部门编码
    private String bmmc;//部门名称

    public String getLoggerId() {
        return loggerId;
    }

    public void setLoggerId(String loggerId) {
        this.loggerId = loggerId;
    }

    public String getJycode() {
        return jycode;
    }

    public void setJycode(String jycode) {
        this.jycode = jycode;
    }

    public String getJyname() {
        return jyname;
    }

    public void setJyname(String jyname) {
        this.jyname = jyname;
    }

    public Date getOpTime() {
        return opTime;
    }

    public void setOpTime(Date opTime) {
        this.opTime = opTime;
    }

    public String getOpOrder() {
        return opOrder;
    }

    public void setOpOrder(String opOrder) {
        this.opOrder = opOrder;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public String getOpObject() {
        return opObject==null?"":opObject;
    }

    public void setOpObject(String opObject) {
        this.opObject = opObject;
    }

    public String getBmcode() {
        return bmcode;
    }

    public void setBmcode(String bmcode) {
        this.bmcode = bmcode;
    }

    public String getBmmc() {
        return bmmc;
    }

    public void setBmmc(String bmmc) {
        this.bmmc = bmmc;
    }

}
